﻿using System;

namespace Framework.Poco
{
    /// <summary>
    /// 用户
    /// </summary>
    public class User : NamedPoco
    {
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }

        /// <summary>
        /// 是否是管理员
        /// </summary>
        public bool IsAdmin { get; set; }

        /// <summary>
        /// 结婚日期
        /// </summary>
        public DateTime MarryTime { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime Created { get; set; }

        /// <summary>
        /// 服务项目
        /// </summary>
        public string ServiceProject { get; set; }
    }
}
